@media only screen and (max-width: 1480px) {
    .pad_xbig {
        padding: 60px;
    }

    .pad_big {
        padding: 60px;
    }

    .pad_med {
        padding: 40px;
    }

    .pad_small {
        padding: 30px;
    }

    .pad_xsmall {
        padding: 30px;
    }

    .pad_xxsmall {
        padding: 15px;
    }

    .grid .wrapper.pad_big {
        padding: 40px;
    }

    .grid .wrapper.pad_med {
        padding: 20px;
    }

    .section .header h1 {
        font-size: 60px;
        line-height: 70px;
    }

    .section .header h1.big {
        font-size: 50px;
        line-height: 56px;
    }

    .section .header h1.big2 {
        font-size: 40px;
        line-height: 48px;
    }

    .section .header h1.med {
        font-size: 36px;
        line-height: 38px;
    }

    .section .header h1.small {
        font-size: 26px;
        line-height: 30px;
    }

    .section .header h2 {
        font-size: 38px;
        line-height: 44px;
    }

    .section .project.preview.featured .wrap h2,.section .header h2.med {
        font-size: 30px;
        line-height: 36px;
    }

    .section .header h2.small {
        font-size: 26px;
        line-height: 30px;
    }

    .section .header h3 {
        font-size: 20px;
        line-height: 26px;
    }

    .section .header h3.big {
        font-size: 32px;
        line-height: 34px;
    }

    .section .header h4 {
        font-size: 20px;
        line-height: 24px;
    }
}

@media only screen and (min-width: 1281px) {
	.section.grid.cols5 .item:nth-child(5n+1){ clear:both; }
}
@media only screen and (max-width: 1280px) {
    .section.grid.cols5 .item {
        width: 25%;
    }
	.section.grid.cols5 .item:nth-child(4n+1){ clear:both; }

    #footer .contact-form {
        padding-right: 60px;
    }

    #footer .wrap .contact {
        padding-left: 60px;
        padding-right: 0;
    }
}

@media only screen and (max-width: 1080px) {
    .pad_xbig {
        padding: 80px 60px;
    }

    .pad_big {
        padding: 60px;
    }

    .pad_med {
        padding: 40px;
    }

    .pad_small {
        padding: 30px;
    }

    .pad_xsmall {
        padding: 30px;
    }

    .pad_top {
        padding-top: 30px;
    }

    .pad_top_med {
        padding-top: 40px;
    }

    .pad_btm_med {
        padding-bottom: 40px;
    }

    .pad_top_big {
        padding-top: 60px !important;
    }

    .pad_btm_big {
        padding-bottom: 60px !important;
    }

    #header .toggle {
        display: none;
    }

    #nav_btn {
        display: block;
        float: right;
        padding: 40px 30px;
        margin: 0;
        cursor: pointer;
    }

    #nav_btn span, #nav_btn span:before, #nav_btn span:after {
        width: 28px;
        height: 2px;
        float: left;
        display: block;
        background: #000;
        position: relative;
        text-indent: -9000px;
        -webkit-transition: all 100ms ease-in-out;
        -moz-transition: all 100ms ease-in-out;
        -ms-transition: all 100ms ease-in-out;
        -o-transition: all 100ms ease-in-out;
        transition: all 100ms ease-in-out;
    }

    #nav_btn span {
        margin: 9px 0;
    }

    #nav_btn span:before, #nav_btn span:after {
        content: '';
        position: absolute;
    }

    #nav_btn span:before {
        top: -8px;
    }

    #nav_btn span:after {
        bottom: -8px;
    }

    #nav_btn.active span {
        background-color: transparent;
    }

    #nav_btn.active span:before, #nav_btn.active span:after {
        top: 0;
    }

    #nav_btn.active span:before {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }

    #nav_btn.active span:after {
        transform: translateY(-10px) rotate(-45deg);
        -webkit-transform: translateY(-10px) rotate(-45deg);
        top: 10px;
    }

    #header #nav {
        width: 100%;
        height: calc(100vh - 100px);
        margin-left: 0;
        background: #fff;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        overflow: auto;
        -webkit-overflow-scrolling: auto;
        clear: both;
        padding: 1px;
    }

    #header #nav ul.menu {
        width: 100%;
        padding-top: 0;
        clear: both;
        float: none;
    }

    #header #nav ul.menu li {
        width: 100%;
        float: left;
        border-top: 1px solid #ddd;
        position: relative;
    }

    #header #nav > ul.menu > li > .sub-wrapper {
        position: relative;
        top: 0;
        height: auto;
    }

    #header #nav > ul.menu > li > .sub-wrapper {
        padding: 0;
    }

    #header #nav > ul.menu > li > .sub-wrapper .projects.grid {
        padding: 10px;
        border-top: 1px solid #d5d5d5;
    }

    #header #nav .sub-wrapper .menu-item-list-box ul li {
        border-bottom: 0;
    }

    #header .project.preview.featured .wrap-box {
        height: 540px !important;
    }

    #header #nav .sub-wrapper .menu-item-list-box {
        width: 100%;
        clear: both;
        padding: 0;
    }

    #header #nav > ul.menu > li > .sub-wrapper > .menu-item-list-box > ul {
        padding: 0;
        height: auto;
        background: transparent;
    }

    #header #nav .sub-wrapper .menu-item-list-box ul li a {
        height: 50px;
        font-size: 13px;
        line-height: 50px;
        padding: 0 20px;
        font-weight: 400;
        font-family: 'Open Sans', sans-serif;
    }

    #header #nav .sub-wrapper .menu-item-list-box ul ul li.menu-item-has-children a:after, #header #nav ul.menu .dropdown_btn {
        right: 20px;
    }

    #header #nav > ul.menu > li.active > .sub-wrapper {
        display: block;
        box-shadow: none;
    }

    #header #nav ul.menu li a {
        height: 60px;
        line-height: 60px;
        padding: 0 20px;
        display: block;
    }

    #header #nav ul.menu li a:hover {
        color: #2752ad;
    }

    #header #nav .cta_btn {
        width: 100%;
        position: relative;
        top: 0;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        background: #f6f6f6;
        margin: 0;
        padding: 20px;
        left: 0;
        clear: both;
    }

    #header #nav .cta_btn .btn {
        width: 100%;
        height: auto;
        font-size: 22px;
        line-height: 24px;
        padding: 24px 40px 20px 40px;
    }

    #header #nav .wrap {
        width: 100%;
        height: auto;
        float: left;
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        background: none;
        border-bottom: 1px solid #ddd;
        margin-bottom: 120px;
    }

    #header #nav .wrap::after {
        display: none;
    }

    #header #nav .wrap .inner {
        width: 100%;
        float: left;
    }

    #header #nav .wrap ul.sub_menu {
        width: 100%;
        height: auto;
        padding: 0;
    }

    #header #nav .wrap ul.sub_menu li {
        width: 100%;
        height: auto;
        border-right: 0;
        border-top: 1px solid #ddd;
    }

    #header #nav .wrap ul.sub_menu li a {
        height: 50px;
        font-size: 13px;
        line-height: 50px;
        padding: 0 20px;
    }

    #header #nav .wrap ul.sub_menu li a:hover {
        color: #166936;
    }

    #header #nav ul.menu .active .sub-menu {
        position: relative;
    }

    #header #nav ul.menu .sub-menu li {
    }

    #header #nav ul.menu .sub-menu li a {
        height: auto;
        line-height: 1;
    }
}

@media only screen and (max-width: 980px) {
    .section.slideshow {
        height: 520px;
    }

    .section.stats .wrapper .stat-content {
        min-height: 480px;
    }
}

@media only screen and (max-width: 880px) {
    .swiper-container .swiper-button-prev {
        left:0;
    }

    .swiper-container .swiper-button-next {
        right: 0;
    }

    .swiper-slide .header .wrap {
        max-width: calc(100% - 75px);
    }

    .section.grid.cols5 .item {
        width: 50%;
        margin-bottom: 5px;
    }

    .section.grid.cols5 .item:nth-child(2n+1) {
        clear: both;
    }

    .contact-form .form-fields {
        flex-wrap: wrap;
    }

    .contact-form .form-fields .form-field {
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-form .form-fields .form-field:last-of-type {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 880px) {
    #footer .wrap {
        flex-wrap: wrap;
    }

    #footer .contact-form {
        padding: 0 0 20px;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }

    #footer .wrap .contact {
        width: 100%;
        padding: 40px 0 0;
    }

    .site-logo {
        margin: 0;
    }

    .social, #footer .nav {
    }

    .stats .stat {
        width: 100%;
        max-width: 360px;
    }

    .section.stats .wrapper .stat-content {
        flex-wrap: wrap;
        display: flex;
        flex-direction: column;
    }

    .stats + .stats {
        border-left: 0;
        border-top: 1px solid #fff;
    }

    .accordion {
        padding: 20px;
    }

    .single-product-banner {
        flex-wrap: wrap;
    }

    .single-product-banner .single-image {
        flex: 0 0 100%;
    }

    .single-product-banner .single-title {
        background: transparent;
    }

    .cols5.grid .wrapper.pad_big {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (max-width: 780px) {
    .pad_xbig {
        padding: 60px;
    }

    .pad_big {
        padding: 60px;
    }

    .pad_med {
        padding: 40px;
    }

    .pad_small {
        padding: 30px;
    }

    .pad_xsmall {
        padding: 20px;
    }

    .pad_xxsmall {
        padding: 15px;
    }

    .grid.pad_big {
        padding: 50px;
    }

    .grid.pad_med {
        padding: 30px;
    }

    .section .accordion .header h2 {
        font-size: 20px;
    }

    .grid.cols5 .item .image {
        height: 130px;
    }

    .explore.section.grid.cols5 .item, #header #nav ul.menu .sub-menu li {
        width: calc(50% - 10px);
    }

    .explore.section.grid.cols5 .wrapper.pad_big {
        padding-left: 10px;
        padding-right: 10px;
    }

    .explore.section.grid.cols5 .wrap-box-wrapper {
        row-gap: 10px;
    }

    .content-block h1 {
        font-size: 34px;
        line-height: 44px;
    }

    .content-block h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .content-block h3 {
        font-size: 22px;
        line-height: 26px;
    }
	
	.btn.small{
		font-size: 14px;
		padding: 0px 20px;
	}
}

@media only screen and (max-width: 480px) {
    .pad_xbig {
        padding: 40px;
    }

    .pad_big {
        padding: 40px;
    }

    .pad_med {
        padding: 30px;
    }

    .pad_small {
        padding: 20px;
    }

    .pad_xsmall {
        padding: 20px;
    }

    .pad_xxsmall {
        padding: 15px;
    }

    .grid.pad_big {
        padding: 20px;
    }

    .grid.pad_med {
        padding: 20px;
    }
}
